//
//  NSWindowController.m
//  makepack_tools
//
//  Created by tangs on 2018/8/21.
//  Copyright © 2018年 tangs. All rights reserved.
//

#import "MyWindowController.h"

@interface MyWindowController ()

@end

@implementation MyWindowController

-(IBAction)open:(id)sender {
    [[NSNotificationCenter defaultCenter] postNotificationName:@"open"
                                                        object:self
                                                      userInfo:nil];
}

-(IBAction)selectAll:(id)sender {
    [[NSNotificationCenter defaultCenter] postNotificationName:@"selectAll"
                                                        object:self
                                                      userInfo:nil];
}

-(IBAction)unselectAll:(id)sender {
    [[NSNotificationCenter defaultCenter] postNotificationName:@"unselectAll"
                                                        object:self
                                                      userInfo:nil];
}

-(IBAction)make:(id)sender {
    [[NSNotificationCenter defaultCenter] postNotificationName:@"startMakeApks"
                                                        object:self
                                                      userInfo:nil];
}

-(IBAction)save:(id)sender {
    [[NSNotificationCenter defaultCenter] postNotificationName:@"save"
                                                        object:self
                                                      userInfo:nil];
}
@end
